package com.readbook.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface UaccountDao {

    List<Map<String,Object>> Search_uaccount(Map<String, Object> gmap);

    List<Map<String,Object>> getStuUaccount();

    List<Map<String,Object>> getTeaUaccount();

    List<Map<String,Object>> getStuUaccountByzh(String phone);
    List<Map<String,Object>> getTeaUaccountByzh(String phone);


    int insertUaccount(Map<String, Object> gmap);

    int updateUaccountByStuzh(Map<String, Object> gmap);

    int updateUaccountByTeazh(Map<String, Object> gmap);

    int updateUaccountLastime(String lasttime1);


    int updateUaccount(Map<String, Object> gmap);

    int updateGradeSix();
    int updateGradeNoSix();


}
